import Vue from 'vue';
import App from './App';

Vue.config.productionTip = false;

App.mpType = 'app';

Vue.prototype.baseApi = 'https://noisewx.fwtai.com';

const app = new Vue({
	...App
});

Vue.prototype.getAjax = function(url, data, callback) {
	uni.request({
		url: url,
		method: 'GET',
		data: data,
		header: {},
		success: function(res) {
			callback(res);
		}
	});
}
app.$mount();